<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'comentario-form',
	'enableAjaxValidation'=>true,
)); ?>


	<?php 
	echo $form->errorSummary(array($model,$video));?>
	
	<div class="row">
		<?php echo $form->labelEx($model,'comentario'); ?>
		<?php echo $form->textArea($model,'comentario',array('rows'=>1, 'cols'=>50)); ?>
		<?php echo $form->error($model,'comentario'); ?>
	</div>
	<div class="row">
		<?php echo $form->labelEx($video,'direccion_video'); ?>
		<?php echo $form->textField($video,'direccion_video'); ?> *Este debe ser video youtube
		<?php echo $form->error($video,'direccion_video'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Publicar' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->